#include "business/recordbusiness/record_manager.h"
#include "business/recordbusiness/storetask_manager.h"
#include "common/common_log.h"

RecordManager::RecordManager()
{
}

RecordManager::~RecordManager()
{
}

int32_t RecordManager::init()
{
    static int32_t count = 5;
    while (count-- > 0)
    {
        int32_t nRet = StoreTaskManager::GetInstance()->init();
        if (nRet < 0) {
            Common_Log_e("StoreTaskManager init fail nret:%d", nRet);
            sleep(2);
            continue;
        }
        return 0;
    }
    return -1;
}

int32_t RecordManager::proc()
{
    return 0;
}
